<template>
    <div>
        <div id="map">hahah</div>
        <input type='text' value="hhhhhhhhhh" id="myinput" />
        <button type="button" class="btn btn-primary" @click="testJquery">测试</button>
        <button type="button" class="btn btn-primary" id="test">试试jQuery</button>
    </div>
</template>

<script>
import $ from 'jquery'
export default {
    methods : {
        testJquery() {
            console.log(document.getElementById("myinput").value)
            console.log('--------',$('#myinput').value)
        }
    }
}
$(function() {
    $('#test').on('click', function() {
        alert("验证成功")
    })
})
</script>